package org.jeecg.entity.meter;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.system.entity.BaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 短信
 * @Author: jeecg-boot
 * @Date:   2020-12-24
 * @Version: V1.0
 */
@Data
@TableName("meter_sms_config")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="meter_sms_config对象", description="短信")
public class MeterSmsConfig extends BaseEntity {
    
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	private Integer delFlag;
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**isFee*/
	@Excel(name = "isFee", width = 15)
    @ApiModelProperty(value = "isFee")
	@Dict(dicCode = "is_sys_merchant")
	private Integer isFee;
	/**isSms*/
	@Excel(name = "isSms", width = 15)
    @ApiModelProperty(value = "isSms")
	@Dict(dicCode = "is_sys_merchant")
	private Integer isSms;
	@Dict(dicCode = "is_sys_merchant")
	private Integer isSwitch;
	/**projectId*/
	@Excel(name = "projectId", width = 15)
    @ApiModelProperty(value = "projectId")
	@Dict(dicCode = "id" ,dicText = "name",dictTable = "base_project")
	private String projectId;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
	private String tenantId;
	@TableField(exist = false)
	private String projectName;


}
